<?php
/**
 * File containing the BRail_Security_InvalidTicketException class.
 * @package BRail_Security
 */

/**
 * @package BRail_Security
 */
class BRail_Security_InvalidTicketException extends BRail_Security_TicketException
{
    /**
     * @param string $message
     * @param int $code
     */
    public function __construct($message = null, $code = 0)
    {
        if ($message === null) {
            $message = 'The ticket string is invalid';
        }
        parent::__construct($message, $code);
    }
}